/**
 * Created by kangdaye on 16/6/13.
 */
app.factory('plainVipCache', function() {
    return{
        listTableHeader : [
            {displayName:'会员ID', field: 'id', width:'10%'},
            {displayName:'手机', field: 'phone', width:'15%'},
            {displayName:'昵称', field: 'nickname',width:'10%'},
            {displayName:'性别', width:'5%',cellTemplate:'<div>{{row.gender ? "男" : "女"}}</div>'},
            {displayName:'注册时间', field: 'registerTime', width:'20%'},
            {displayName:'最后登录时间', field: 'lastLoginTime', width:'20%'},
            {displayName:'来源', field: 'source', width:'10%'},
            {displayName:'操作',width:'10%',cellTemplate:'<div class="operation">' +
                '<a href="{{$root.prefix}}vip/plainVip/detail.html&{{row.id}}">查看</a>' +
            '</div>'
            }
        ]
    }
});
